/*
type int
parse 5 5
parse 55 55
noparse 6 'P, or end-of-input' 1
*/

/* XXX This is a previous version of bind4. Note that the expected
 * results don't look very sensible, but they are correct. What this
 * test *should* do, in a fantasy world, is issue a warning because the
 * left hand side of the alternation matches the empty string: it must
 * always succeed. The right hand side of the alternation is effectively
 * unreachable code.
 * XXX so shouldn't this test be in "bad" as an expected fail?
 */
 
P ← a:"5"* { atoi(ref_dup(a)) } / b:"6" { atoi(ref_dup(b)) }
